{{! corresponding files: commerce_items_add.php & commerce_items_add.json}}

<form accept-charset="UTF-8" method="post" action="{{www_path}}/commerce/items/edit/{{id}}" name="edit_item">
	<input type="hidden" name="{{form_state_action}}" value="makeitso" />

	<label for="item_name">{{label_name}}</label>
	<input type="text" id="item_name" name="item_name" value="{{name}}" placeholder="A public name for the item" class="required" />

	<label for="item_description">{{label_description}}</label>
	<textarea rows="3" id="item_description" name="item_description">{{description}}</textarea>


		<div class="pure-u-1">
				<div class="pure-u-1 pure-u-md-1-3">
					<label for="item_price">{{label_price}}</label>
					<input type="text" id="item_price" name="item_price" value="{{price}}" class="required number" />
				</div><!--pure-->
				<div class="pure-u-1 pure-u-md-1-3">
					<label for="item_quantity">{{label_quantity}}</label>
					<input type="text" id="item_quantity" name="item_quantity" value="{{available_units}}" class="number required" />
				</div><!--pure-->
				<div class="pure-u-1 pure-u-md-1-3">
			<label for="item_fulfillment_asset">{{label_fulfillment_asset}}</label>
			<select id="item_fulfillment_asset" name="item_fulfillment_asset">
				<option value="0">{{copy_op_none}}</option>
				{{{asset_options}}}
			</select>
		</div><!--pure-->
		</div><!--pure-->
		<div class="pure-u-1">
	<label class="checklabel" for="item_flexible_price">
		<input type="checkbox" name="item_flexible_price" id="item_flexible_price"{{#flexible_price}} checked="checked"{{/flexible_price}} class="checkorradio" />{{label_enable}}
	</label>
		</div><!--pure-->
		<div class="pure-u-1">
	<label class="checklabel" for="item_physical">
		<input type="checkbox" name="item_physical" id="item_physical"{{#physical_fulfillment}} checked="checked"{{/physical_fulfillment}} class="checkorradio" />{{label_physical_goods}}
	</label>
	</div><!--pure-->
<div class="pure-u-1">
	<button type="submit">{{copy_button_save}}</button>
</div><!--pure-->
</form>
